#ifndef _PIPE_H_
#define _PIPE_H_

#include "Object.h"

class Pipe : public Object
{
public:
	Pipe(LPDIRECT3DDEVICE9 d3ddv, LPDIRECT3DSURFACE9 BackBuffer, LPD3DXSPRITE SpriteHandler, float x, float y, int ID, int Object_State);
	~Pipe();

	//void Init(LPDIRECT3DDEVICE9 d3ddv, LPDIRECT3DSURFACE9 BackBuffer, LPD3DXSPRITE SpriteHandler);
	//void Update(int _ScreenWidth, int _ScreenHeight, float gameTime);
	void Render();
	void Update(list<Object*>* staObjs, list<Object*>* dynObjs, DxInput* input, float TPF);

	OBJECT_TYPE GetTypeObject();
	void ResetRect();
};

#endif